
<?php
$usuario = Usuario::consultar($_GET['idRegistro']);
?>
<div id="centroLogin">   
    <div id="formLogin">
    <form action="salvarUsuario.php?modulo=<?=Usuario::NOME_MODULO?>" method="post">

        <table class="tabelaConsulta">
            <tr><br/>
                <td valign="top" colspan="2"><h2>Altere seu cadastro</h2><br/><br/></td>
            </tr>
            <tr>
                <td>*Nome:</td>
                <td><input name="campoForm_nome" value="<?= $usuario->getNome() ?>" required autofocus/></td>
            </tr>      
            <tr>
                <td>*Email:</td>
                <td><input name="campoForm_email" type="email" value="<?= $usuario->getEmail() ?>" required /></td>
            </tr>    
            <tr>
                <td>*Senha:</td>
                <td><input type="password" name="campoForm_senha" value=""  required /></td>
            </tr>
            <tr>
                <td>*Data de Inclusão:</td>
                <td><input type="date" name="campoForm_dt_inclusao" value="<?= $usuario->getDataInclusao()?>"/></td>
            </tr>
            <tr>
                <td><button type="submit" class='btn'>Confirmar</button></td>
                <td><a href="index.php?modulo=<?= Cliente::NOME_MODULO?>>"><button type="button" class='btn'>Cancelar</button></a></td>
            </tr>    
        </table>    
    </form>  
</div>
<div id="logo"></div>  

